StoreEngine\Addons\Subscription\Hooks B

Total Complexity 96
Dependencies 15
Dependents 3
Total lines 655
Lines of code 364
Logical lines of code 225
Comment lines 168
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
calculate_subscription_totals()
B
37 15 72
generate_recurring_cart_key()
A
47 9 37
get_cart_subscription_sign_up_fee()
A
55 9 18
add_shipping()
S
46 6 38
get_formatted_product_subtotal()
S
50 6 27
display_recurring_totals()
S
53 6 22
set_subscription_prices_for_calculation()
S
61 6 13
order_subscription_info()
S
54 5 19
cart_contains_resubscribe()
S
59 5 15
cart_needs_payment()
S
64 4 9
get_sign_up_fee_filter()
S
78 3 3
cart_product_price()
S
63 2 12
add_calculation_price_filter()
S
68 2 7
display_subscription_period()
S
64 2 10
display_subscription_price()
S
70 2 6
order_subscription_details()
S
65 2 9
cart_contains_subscription()
S
75 2 4
__construct()
S
58 1 14
set_recurring_cart_key()
S
76 1 4
get_recurring_cart_key()
S
80 1 3
set_cached_recurring_cart()
S
80 1 3
set_calculation_type()
S
76 1 4
get_calculation_type()
S
80 1 3
remove_calculation_price_filter()
S
78 1 3
charge_shipping_up_front()
S
78 1 3
all_cart_items_have_free_trial()
S
78 1 3
get_recurring_shipping_package_key()
S
79 1 3